package chat.network.tcp;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * Created by Administrator on 2016/3/8.
 */
public class TimeReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.i("定时任务","定时任务执行中..");
        if (PushService.netWorkAvailable(context))
        {
            PushService.sendMsgToPush(PushService.ACTION_CONNECTION);
        }
    }
}
